import os

class Config:
    # ... 其他配置保持不变 ...
    
    # 上传文件配置
    UPLOAD_FOLDER = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'uploads')
    
    # Ollama 配置
    OLLAMA = {
        'base_url': 'http://localhost:11434',
        'max_retries': 3,
        'retry_delay': 1.0
    }
    
    # 向量搜索配置
    VECTOR_SEARCH = {
        'top_k_results': 5,
        'similarity_threshold': 0.5
    } 